@extends('../layouts.base')      
@section('content')
<section class="Hui-article-box">
	<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页
		<span class="c-gray en">&gt;</span>
		优惠码管理
		<span class="c-gray en">&gt;</span>
		优惠码添加<a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a> </nav>
	<div class="Hui-article">
	<article class="cl pd-20">
      <form action="" method="post" class="form form-horizontal" id="submit-form">
		@csrf
		<div class="row cl">
			<label class="form-label col-xs-3 col-sm-2"><span class="c-red">*</span>生成数量：</label>
			<div class="formControls col-xs-6 col-sm-7">
				<input type="text" class="input-text" value="" placeholder="请输入生成优惠码数量" id="number" name="number">
			</div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-xs-3 col-sm-2"><span class="c-red">*</span>优惠金额：</label>
			<div class="formControls col-xs-6 col-sm-7">
				<input type="text" class="input-text" value="" placeholder="请输入优惠金额" id="money" name="money">
			</div>
		</div>
		
		<!--<div class="row cl">
			<label class="form-label col-xs-3 col-sm-2"><span class="c-red">*</span>有效开始日期：</label>
			<div class="formControls col-xs-6 col-sm-7">
				<input name="start_time" type="text" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}'})" id="datemin" class="input-text Wdate" style="width:120px;">
			</div>
		</div>-->
		
		<div class="row cl">
			<label class="form-label col-xs-3 col-sm-2"><span class="c-red">*</span>有效结束日期：</label>
			<div class="formControls col-xs-6 col-sm-7">
				<input name="end_time" type="text" onfocus="WdatePicker()" id="datemax" class="input-text Wdate" style="width:120px;">
			</div>
		</div>
		
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
				<input class="btn btn-primary radius" id="button-submit-add" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
			</div>
		</div>
	</form>
	</article>
	</div>
</section>					
@endsection
 
 
@section('script')
<script type="text/javascript" src="/HadminPage/lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript" src="/HadminPage/lib/datatables/1.10.0/jquery.dataTables.min.js"></script> 
<script type="text/javascript" src="/HadminPage/lib/laypage/1.2/laypage.js"></script> 
<script>


var SCOPE = {
    'save_url' : '/coupon/list/add',
    'jump_url' : '/coupon/list/index',
}
  
</script>
 @endsection		